package com.xinsoft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinsoft.common.page.PageModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;


@EqualsAndHashCode(callSuper = true)
@Data
public class ScmOutsourcingFeedingParam extends PageModel {

    /**
     * 合同编号
     */
    private String contractCode;

    /**
     * 采购员id
     */
    private Integer purchasePersonId;

    /**
     * 供应商id
     */
    private Integer supplierId;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
}
